package com.example.stock.comm;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.Arrays;
import java.util.List;

public interface Cons {

    DateTimeFormatter   formatHHmm = DateTimeFormatter.ofPattern("HH:mm");
    DateTimeFormatter   formatYyyyMMDDHHMMSS = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
    DateTimeFormatter   formatYyyyMMDD = DateTimeFormatter.ofPattern("yyyy-MM-dd");
    DateTimeFormatter   formatYyyyMM = DateTimeFormatter.ofPattern("yyyy-MM");

    List<String>        timeDay    = Arrays.asList(                                                               "15:00");
    List<String>        time120Min = Arrays.asList(                           "11:30",                            "15:00");
    List<String>        time60Min  = Arrays.asList(         "10:30",          "11:30",          "14:00",          "14:50");
    List<String>        time30Min  = Arrays.asList("10:00", "10:30", "11:00", "11:30", "13:30", "14:00", "14:30", "15:00");
    List<String>        time15Min  = Arrays.asList("09:45","10:00","10:15","10:30","10:45", "11:00", "11:15", "11:30","13:15", "13:30", "13:45",  "14:00", "14:15", "14:30",  "14:45", "14:55");
    List<String>        time30Min_m  = Arrays.asList("09:45", "10:15", "10:45", "11:15", "13:15", "13:45", "14:15", "14:45");


    LocalDateTime year2001 =  LocalDateTime.parse("2001-01-01 00:00:00", Cons.formatYyyyMMDDHHMMSS);
    LocalDateTime year2002 =  LocalDateTime.parse("2002-01-01 00:00:00", Cons.formatYyyyMMDDHHMMSS);
    LocalDateTime year2003 =  LocalDateTime.parse("2003-01-01 00:00:00", Cons.formatYyyyMMDDHHMMSS);
    LocalDateTime year2004 =  LocalDateTime.parse("2004-01-01 00:00:00", Cons.formatYyyyMMDDHHMMSS);
    LocalDateTime year2005 =  LocalDateTime.parse("2005-01-01 00:00:00", Cons.formatYyyyMMDDHHMMSS);
    LocalDateTime year2006 =  LocalDateTime.parse("2006-01-01 00:00:00", Cons.formatYyyyMMDDHHMMSS);
    LocalDateTime year2007 =  LocalDateTime.parse("2007-01-01 00:00:00", Cons.formatYyyyMMDDHHMMSS);
    LocalDateTime year2008 =  LocalDateTime.parse("2008-01-01 00:00:00", Cons.formatYyyyMMDDHHMMSS);
    LocalDateTime year2009 =  LocalDateTime.parse("2009-01-01 00:00:00", Cons.formatYyyyMMDDHHMMSS);
    LocalDateTime year2010 =  LocalDateTime.parse("2010-01-01 00:00:00", Cons.formatYyyyMMDDHHMMSS);
    LocalDateTime year2011 =  LocalDateTime.parse("2011-01-01 00:00:00", Cons.formatYyyyMMDDHHMMSS);
    LocalDateTime year2012 =  LocalDateTime.parse("2012-01-01 00:00:00", Cons.formatYyyyMMDDHHMMSS);
    LocalDateTime year2013 =  LocalDateTime.parse("2013-01-01 00:00:00", Cons.formatYyyyMMDDHHMMSS);
    LocalDateTime year2014 =  LocalDateTime.parse("2014-01-01 00:00:00", Cons.formatYyyyMMDDHHMMSS);
    LocalDateTime year2015 =  LocalDateTime.parse("2015-01-01 00:00:00", Cons.formatYyyyMMDDHHMMSS);
    LocalDateTime year2016 =  LocalDateTime.parse("2016-01-01 00:00:00", Cons.formatYyyyMMDDHHMMSS);
    LocalDateTime year2017 =  LocalDateTime.parse("2017-01-01 00:00:00", Cons.formatYyyyMMDDHHMMSS);
    LocalDateTime year2018 =  LocalDateTime.parse("2018-01-01 00:00:00", Cons.formatYyyyMMDDHHMMSS);
    LocalDateTime year2019 =  LocalDateTime.parse("2019-01-01 00:00:00", Cons.formatYyyyMMDDHHMMSS);
    LocalDateTime year2020 =  LocalDateTime.parse("2020-01-01 00:00:00", Cons.formatYyyyMMDDHHMMSS);



}
